package com.technology.trial.expensecalculator.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@Controller
@RequestMapping("/welcome")
public class WelcomeController {
	
	@RequestMapping(method = RequestMethod.GET)
	public String initialize(ModelMap model) {
		model.addAttribute("message", "Welcome to Expense Calculator");
		return "welcome";
	}

}